/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "盘点管理",TableName = "InventoryManagement")]
    public partial class InventoryManagement:BaseEntity
    {
        /// <summary>
       ///主键
       /// </summary>
       [Key]
       [Display(Name ="主键")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int Id { get; set; }

       /// <summary>
       ///盘点编号
       /// </summary>
       [Display(Name ="盘点编号")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string TaskCode { get; set; }

       /// <summary>
       ///盘点类型
       /// </summary>
       [Display(Name ="盘点类型")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string TaskType { get; set; }

       /// <summary>
       ///状态
       /// </summary>
       [Display(Name ="状态")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? Status { get; set; }

       /// <summary>
       ///审核人
       /// </summary>
       [Display(Name ="审核人")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string Approver { get; set; }

       /// <summary>
       ///审核意见
       /// </summary>
       [Display(Name ="审核意见")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string ApprovalOpinion { get; set; }

       /// <summary>
       ///制单人
       /// </summary>
       [Display(Name ="制单人")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string Creator { get; set; }

       /// <summary>
       ///制单时间
       /// </summary>
       [Display(Name ="制单时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? CreationTime { get; set; }

       /// <summary>
       ///备注
       /// </summary>
       [Display(Name ="备注")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string Descs { get; set; }

       /// <summary>
       ///产品名称
       /// </summary>
       [Display(Name ="产品名称")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       public string ProductName { get; set; }

       /// <summary>
       ///产品编码
       /// </summary>
       [Display(Name ="产品编码")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       public string ProductCode { get; set; }

       /// <summary>
       ///规格
       /// </summary>
       [Display(Name ="规格")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       public string Specification { get; set; }

       /// <summary>
       ///批次
       /// </summary>
       [Display(Name ="批次")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       public string Batch { get; set; }

       /// <summary>
       ///仓库
       /// </summary>
       [Display(Name ="仓库")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       public string Warehouse { get; set; }

       /// <summary>
       ///库位
       /// </summary>
       [Display(Name ="库位")]
       [Column(TypeName="int")]
       public int? Location { get; set; }

       /// <summary>
       ///库存
       /// </summary>
       [Display(Name ="库存")]
       [Column(TypeName="int")]
       public int? Stock { get; set; }

       /// <summary>
       ///盘点数
       /// </summary>
       [Display(Name ="盘点数")]
       [Column(TypeName="int")]
       public int? CountedQuantity { get; set; }

       
    }
}